package com.ktjy.utils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageUtil<T> {
    private Integer pageNo;
    private Integer pageSize;
    private Long totalCount;  //总记录数
    private Long totalPageCount;
    private List<T> data = new ArrayList<T>();
}